import json


def read_json():
    with open("../data/c_power.json", "r", encoding="utf-8") as f:
        data = json.load(f)
    arr1 = []
    arr2 = []
    for a in data:
        arr1.append((a['add'][:5], a['add'][5]))
        arr2.append((a['update']))
    # print(arr1, arr2)
    return arr1, arr2


# print(read_json())
